from datetime import datetime
from langchain.tools import tool


@tool
def get_current_time():
    """获取当前时间"""
    return datetime.now().strftime("%Y-%m-%d %H:%M:%S")
